<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html">


    <h:body>

        <ui:composition template="/resources/template/template.xhtml">

            <ui:define name="content">

                <h:form >
                    <p:panel header="Store Administration" >
                        <p:tabView orientation="left">

                            <p:tab title="1) Store Item">
                                <h:panelGrid columns="1" >     
                                    <p:commandButton styleClass="linkButton" ajax="false" value="1) Store Item Category" action="/store/consumable_category/List" ></p:commandButton>
                                    <p:commandButton styleClass="linkButton" ajax="false" action="/store/make_list" value="2) Manage Makes" />
                                    <p:commandButton styleClass="linkButton" ajax="false" value="3) Item Master" action="store_item_master" ></p:commandButton>
                                    <p:commandButton styleClass="linkButton" ajax="false" value="4) Import from Excel" action="store_item_import" ></p:commandButton>
                                    <p:commandButton styleClass="linkButton" ajax="false" value="5) Import list of items with stock from Excel" action="store_item_import_with_stock" ></p:commandButton>
                                    <p:commandButton styleClass="linkButton" ajax="false" value="6) Import list of items and categories from Excel" action="store_item_import_with_category" ></p:commandButton>
                                    <p:commandButton styleClass="linkButton" ajax="false" value="7) Manufacturers" action="/pharmacy/pharmacy_manufacturer" ></p:commandButton>
                                </h:panelGrid>
                            </p:tab>
                            <p:tab title="2) Error Checking">
                                <h:panelGrid columns="1">
                                    <p:commandButton styleClass="linkButton" ajax="false" value="1) Error Detection" action="store_error_checking" ></p:commandButton>
                                    <p:commandButton styleClass="linkButton" ajax="false" value="2) Error Detection By Date" action="store_error_checking_date" ></p:commandButton>                                   

                                    <p:commandButton styleClass="linkButton" ajax="false" value="3) Stock Variant Report" 
                                                     action="store_variant_category_stock_by_item" />
                                    <p:commandButton styleClass="linkButton" ajax="false" value="4) Stock Variant Adjustment" 
                                                     action="store_variant_ajustment_pre_list" />

                                    <p:commandButton styleClass="linkButton" ajax="false" value="5) Items Issues from Retired Items" 
                                                     action="/store/store_search_issue_bill_item_error" />

                                </h:panelGrid>
                            </p:tab>
                            <p:tab title="3) Institutions">
                                <h:panelGrid columns="1" >                                
                                    <p:commandButton styleClass="linkButton" ajax="false" value="1) Distributor" action="store_dealer" ></p:commandButton>                                
                                    <p:commandButton styleClass="linkButton" ajax="false" value="2) Item Distributors" action="store_items_distributors" ></p:commandButton>
                                </h:panelGrid>
                            </p:tab>
                            <p:tab title="4) Other">
                                <h:panelGrid columns="1" >
                                    <p:commandButton styleClass="linkButton" ajax="false" value="1) Measurment Units" action="store_measurement_unit" ></p:commandButton>
                                    <p:commandButton styleClass="linkButton" ajax="false" value="2) Frequencies" action="store_frequency_unit" ></p:commandButton>
                                </h:panelGrid>
                            </p:tab>
                            <p:tab title="5) Assets">
                                <h:panelGrid columns="1" >
                                    <p:commandButton styleClass="linkButton" ajax="false" value="1) Asset Categories" action="/store/asset_category/List" ></p:commandButton>
                                    <p:commandButton styleClass="linkButton" ajax="false" value="2) Asset Item Master" action="store_inventry_item_master" ></p:commandButton>
                                </h:panelGrid>
                            </p:tab>
                            <p:tab title="6) Check Entered Data">
                                <h:panelGrid columns="1">
                                    <p:commandButton styleClass="linkButton" ajax="false" value="1) Item Distributor" action="store_item_by_distributor" ></p:commandButton>
                                </h:panelGrid>
                            </p:tab>

                        </p:tabView>
                        
                    </p:panel>
                </h:form>
            </ui:define>
        </ui:composition>

    </h:body>
</html>
